package com.gzxx.domain.converter;


import com.gzxx.domain.base.BaseDto;
import com.gzxx.domain.bo.SysRoleBO;
import com.gzxx.domain.dto.SysRoleCreateDto;
import com.gzxx.domain.dto.SysRoleQueryDto;
import com.gzxx.domain.dto.SysRoleUpdateDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 系统用户转换
 *
 * @author MAX
 * 系统用户Mapper
 */
@Mapper
public interface SysRoleConverter {

    SysRoleConverter MAPPER = Mappers.getMapper(SysRoleConverter.class);

    SysRoleBO convertQueryDto(SysRoleQueryDto queryDto);

    SysRoleBO convertCreateDto(SysRoleCreateDto createDto);

    SysRoleBO convertUpdateDto(SysRoleUpdateDto updateDto);

    SysRoleBO convertBaseDto(BaseDto baseDto);
}
